package com.intellagric.agriecom.module.agriecom_merchant;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.pojo.AgriecomMerchant;


public interface MerchantService {

    //增加Merchant
    ResponseMessage addMerchant(AgriecomMerchant merchant);

    //根据id删除Merchant
    ResponseMessage deleteMerchant(String id);

    //根据id批量删除Merchant
    ResponseMessage batchDeleteMerchant(String[] ids);

    //修改Merchant
    ResponseMessage editMerchant(AgriecomMerchant merchant);

    //根据id查询Merchant
    AgriecomMerchant getMerchantById(String id);


    //查询Merchant列表

    LayuiDataGridResult getMerchantList();
    LayuiDataGridResult getMerchantList(int page, int row, String keyword);


}
